@import "../Master/index";

@media only screen and (min-width: 320px) {
  html {
    font-size: 62.5% !important;
  }
}

@media only screen and (min-width: 640px) {
  html {
    font-size: 125% !important;
  }

}

@media only screen and (min-width: 750px) {
  html {
    font-size: 150% !important;
  }
}

@media only screen and (min-width: 1242px) {
  html {
    font-size: 187.5% !important;
  }
}

//@font-face {
//  font-family: Regular;
//  src: url('../../icon/font/PingFangRegular.ttf');
//}
@font-face {
  font-family: RegularEng;
  src: url('../../icon/font/SanFranciscoText-Regular-19.otf');
}

* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none; /*系统默认菜单被禁用*/
  //-webkit-user-select: none; /*webkit浏览器*/
  -moz-user-select: none; /*火狐*/
  -ms-user-select: none; /*IE10*/
  //user-select: none;
}

html, body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
}

h1, h2, h3, h4, h5, h6, p, ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

input, button {
  -webkit-touch-callout: none;
  -webkit-appearance: none;
  user-select: none;
  -webkit-user-select: auto;
}

.popup {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .8);
  display: flex;
  justify-items: center;
  align-items: center;
  animation: bg .5s;

  .content {
    width: 80%;
    margin: auto;
    border-radius: .7rem;
    position: relative;
    background-color: #fff;
    animation: cotn .5s;
  }
}

.BottomPopup {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .8);
  display: flex;
  justify-items: flex-end;
  align-items: flex-end;
  align-content: flex-end;
  animation: bg .5s;

  .content {
    width: 100%;
    //margin: auto;
    //border-radius: .7rem;
    //position: relative;
    background-color: #fff;
    animation: cotn .5s;
  }
}

.popups {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .8);
  display: flex;
  justify-items: center;
  align-items: center;

  .content {
    width: 80%;
    margin: auto;
    border-radius: .4rem;
  }
}

.positive {
  width: 100%;
  height: 100%;
  display: flex;
  justify-items: center;
  align-items: start;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1500;
  background: rgba(0, 0, 0, .8);
}

.booksbodyer {
  padding: 0rem;
  margin-top: 1rem;
  box-sizing: border-box;

  .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .4rem 1rem;
    margin-bottom: 1.5rem;

    .left, .right {
      font-size: @fontSize15;
      color: @Master62;

      i {
        font-size: 1.5rem;
      }
    }

    .right {
      font-size: @fontSize15;
      color: @Master62;

      i {
        position: relative;
        left: -.3rem;
        font-size: 1rem;
      }
    }
  }

  .body {
    box-sizing: border-box;
    padding: 0rem 1rem;

    .books {
      display: flex;
      justify-content: flex-start;
      //flex-direction: row;
      align-items: stretch;

      div {
        width: 40%;
        padding: 0;
        margin: 0 2rem;

        img {
          width: 100%;
          //box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.2);
        }

        .bgs {
          box-shadow: none;
        }
      }
    }

    .bgssd {
      content: '';
      position: relative;
      top: 0.5rem;
      z-index: 150;
      width: 100%;
      height: 1.2rem;
      background-color: #fff;
    }

    .bottomts {
      position: relative;
      top: -2.1rem;
      z-index: 300;
      width: 100%;
      height: 3rem;
      background: url("../../img/AllBooks/shu-1.png") no-repeat;
      background-size: 100%;
    }
  }

  .body:first-child {
    .books {
      padding-top: 3rem;
    }
  }
}

.animated {
  -webkit-animation-duration: .25s;
  animation-duration: .25s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.infinite-status-prompt {
  display: none;
}

@keyframes bg {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes cotn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes myfirst {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes myfirst {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes transy {
  0% {
    bottom: -10rem;
  }
  100% {
    bottom: 0;
  }
}

@-webkit-keyframes transy {
  0% {
    bottom: -10rem;
  }
  100% {
    bottom: 0;
  }
}

@keyframes transymode {
  0% {
    bottom: -30rem;
  }
  100% {
    bottom: 0;
  }
}

@-webkit-keyframes transymode {
  0% {
    bottom: -30rem;
  }
  100% {
    bottom: 0;
  }
}

@keyframes transyword {
  0% {
    bottom: -20rem;
  }
  100% {
    bottom: 0;
  }
}

@-webkit-keyframes transyword {
  0% {
    bottom: -20rem;
  }
  100% {
    bottom: 0;
  }
}

.iconfont.icon-bangdingshibai {
  font-size: 32px;
}

.iconfont.icon-tianjiachenggong {
  font-size: 32px;
}

.iconfont.icon-duanxin {
  font-size: 3.7rem;
}

.iconfont.icon-tianjiachenggong {
  font-size: 32px;
}

.picker-backdrop {
  .picker-wrapper {
    .picker-content {
      .picker-helper:before {
        content: '';
        width: 100%;
        height: 38px;
        border-top: 1px solid transparent !important;
        border-bottom: 1px solid transparent !important;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
      }
    }
  }
}

.bg-img {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.Vipfooter {
  text-align: center;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 210;
  background-color: #fff;
  border-top: .1rem solid @MasterE6;
}

.mint-switch-input:checked + .mint-switch-core {
  border-color: @Mastercolor !important;
  background-color: @Mastercolor !important;
}

.mint-toast {
  min-width: 30.3% !important;
  min-height: 8.4rem !important;
  display: flex;
  justify-items: center;
  flex-direction: column;
  align-items: center;
}

.mint-toast-text {
  font-size: @fontSize15 !important;
  margin-top: -.9rem;
}

.mint-toast.is-placemiddle {
  padding-top: -.2rem !important;
}

.mint-toast-icon {
  margin-top: -.4rem !important;
}

.loading-default {
  position: relative;
  border: 1px solid @Mastercolor !important;
  animation: loading-rotating ease 1.5s infinite;

  &:before {
    @size: 6px;
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 50%;
    margin-top: -@size/2;
    margin-left: -@size/2;
    width: @size;
    height: @size;
    background-color: #fff !important;
    border-radius: 50%;
  }

  &:after {
    @size: 6px;
    content: '';
    position: absolute;
    display: block;
    bottom: -3px;
    left: 50%;
    margin-top: -@size/2;
    margin-left: -@size/2;
    width: @size;
    height: @size;
    background-color: #fff !important;
    border-radius: 50%;
  }
}

// spiral spinner
.load-pic-icon .mint-toast-icon {
  font-size: 3.5rem;
  animation: loading-rotating 2s linear infinite;
}

// rotate animation
@keyframes loading-rotating {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

#topAlert {
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 1);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  //animation: cotn 1s;
  .Toast {
    margin-top: -12%;
    font-size: @fontSize15;
    color: #cccccc;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;

    img {
      width: 4rem;
    }

    p {
      margin-top: .2rem;
    }
  }
}

.v-modal {
  opacity: 0.8;
}

.icon-class {
  .mint-toast-icon {
    font-size: 3.4rem;
    margin-bottom: .5rem;
    position: relative;
    top: .25rem;
  }

  .mint-toast-text {
    position: relative;
    top: .25rem;
  }
}
